package com.uvt.agenda.commands;

import com.uvt.agenda.Event;
import com.uvt.agenda.EventsProvider;

/**
 * Created by oana on 02/02/14.
 * 16:26
 */
public class UpdateEventCommand implements Command{
    private Event event;

    public UpdateEventCommand(Event event) {
        this.event = event;
    }

    @Override
    public void execute() {
        EventsProvider.getInstance().updateEvent(event);
    }
}
